package org.liushengpei.com.constant;

/**
 * 正则表达式常量类
 */
public class RegularConstant {

    /**
     * 手机号验证
     */
    public static final String PHONE_CHECK = "^((13[0-9])|(14[5,7])|(15[0-3,5-9])|(17[0,3,5-8])|(18[0-9])|166|198|199|(147))\\d{8}$";

    /**
     * 电子邮箱校验
     */
    public static final String EMAIL_CHECK = "^[A-Za-z0-9._]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}$";
}
